class Option < Searchable

  set_table_name 'opcao'

  belongs_to :organ, :foreign_key => 'orgao'
  belongs_to :level, :foreign_key => 'nivel'
  belongs_to :opcaotipo, :foreign_key => 'tipoopcao'
  belongs_to :curso, :foreign_key => 'curso'
  belongs_to :regimeletivo, :foreign_key => 'regimeletivo'
  belongs_to :basicarea, :foreign_key => 'areabasica'
  belongs_to :conhecimentoarea, :foreign_key => 'areaconhecimento'
  belongs_to :avaliacaoarea, :foreign_key => 'areaavaliacao'
  #belongs_to :docente



end
